package sh.wn36.vehiclemanage.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import sh.wn36.vehiclemanage.entity.FeesManager;
import com.baomidou.mybatisplus.extension.service.IService;
import sh.wn36.vehiclemanage.xzh.FeeInfo;
import sh.wn36.vehiclemanage.xzh.RepairInfo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xk
 * @since 2021-04-26
 */
public interface FeesManagerService extends IService<FeesManager> {

    IPage<FeeInfo> getListByCarNo(Page<RepairInfo> page, String text);

    IPage<FeeInfo> getListByUnitName(Page<RepairInfo> page, String text);

    IPage<FeeInfo> getListByRname(Page<RepairInfo> page, String text);

    IPage<FeeInfo> getList(Page<RepairInfo> page);

    FeeInfo getDetailById(Integer id);

    int updateFees(Integer id ,FeesManager feesManager);

    List<Map<String,Object>> getTable();

    List<Map<String,Object>> getTableByCarId(Integer id);
}
